import request from '@/util/request'

// 用户登录
export function userLogin(data) {
    return request({
      url: '/dev-api/login',
      method: 'post',
      data: data
    })
}

// 查询用户信息
export function userInfo() {
    return request({
      url: '/dev-api/getInfo',
      method: 'get'
    })
}

// 查询车辆信息
export function carInfo(id) {
    return request({
      url: '/dev-api/bs-vehicle-owner/carInfo/getByCarId/'+id,
      method: 'GET',
    })
}



export function CarState(id) {
  return request({
    url: '/dev-api/bs-smart-charger-biz/CarState/'+id,
    method: 'GET',
  })
}

